3.149 \(\int \frac{1}{x^2 \left (a+b x^3+c x^6\right )} \, dx\)

Optimal. Leaf size=610 \[ -\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt{b^2-4 a c}}+\left (b-\sqrt{b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt{b^2-4 a c}+b}+\left (\sqrt{b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{\sqrt{b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqr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+
 Sqrt[b^2 - 4*a*c])^(1/3))

_______________________________________________________________________________________

Rubi [A]  time = 1.7032, antiderivative size = 610, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 8, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.444 \[ -\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt{b^2-4 a c}}+\left (b-\sqrt{b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt{b^2-4 a c}+b}+\left (\sqrt{b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \log \left (\sqrt [3]{\sqrt{b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3\ 2^{2/3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}+\frac{\sqrt [3]{c} \left (\frac{b}{\sqrt{b^2-4 a c}}+1\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [3]{c} \left (1-\frac{b}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{\sqrt{b^2-4 a c}+b}}}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3} a \sqrt [3]{\sqrt{b^2-4 a c}+b}}-\frac{1}{a x} \]

Antiderivative was successfully verified.

[In]  Int[1/(x^2*(a + b*x^3 + c*x^6)),x]

[Out]

-(1/(a*x)) + (c^(1/3)*(1 + b/Sqrt[b^2 - 4*a*c])*ArcTan[(1 - (2*2^(1/3)*c^(1/3)*x
)/(b - Sqrt[b^2 - 4*a*c])^(1/3))/Sqrt[3]])/(2^(2/3)*Sqrt[3]*a*(b - Sqrt[b^2 - 4*
a*c])^(1/3)) + (c^(1/3)*(1 - b/Sqrt[b^2 - 4*a*c])*ArcTan[(1 - (2*2^(1/3)*c^(1/3)
*x)/(b + Sqrt[b^2 - 4*a*c])^(1/3))/Sqrt[3]])/(2^(2/3)*Sqrt[3]*a*(b + Sqrt[b^2 -
4*a*c])^(1/3)) + (c^(1/3)*(1 + b/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[b^2 - 4*a*c])^
(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(2/3)*a*(b - Sqrt[b^2 - 4*a*c])^(1/3)) + (c^(1/
3)*(1 - b/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 - 4*a*c])^(1/3) + 2^(1/3)*c^(1/3)
*x])/(3*2^(2/3)*a*(b + Sqrt[b^2 - 4*a*c])^(1/3)) - (c^(1/3)*(1 + b/Sqrt[b^2 - 4*
a*c])*Log[(b - Sqrt[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c^(1/3)*(b - Sqrt[b^2 - 4*a*c]
)^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/(6*2^(2/3)*a*(b - Sqrt[b^2 - 4*a*c])^(1/3)) -
(c^(1/3)*(1 - b/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c
^(1/3)*(b + Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/(6*2^(2/3)*a*(b +
 Sqrt[b^2 - 4*a*c])^(1/3))

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/x**2/(c*x**6+b*x**3+a),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [C]  time = 0.0541206, size = 71, normalized size = 0.12 \[ -\frac{\text{RootSum}\left [\text{$\#$1}^6 c+\text{$\#$1}^3 b+a\&,\frac{\text{$\#$1}^3 c \log (x-\text{$\#$1})+b \log (x-\text{$\#$1})}{2 \text{$\#$1}^4 c+\text{$\#$1} b}\&\right ]}{3 a}-\frac{1}{a x} \]

Antiderivative was successfully verified.

[In]  Integrate[1/(x^2*(a + b*x^3 + c*x^6)),x]

[Out]

-(1/(a*x)) - RootSum[a + b*#1^3 + c*#1^6 & , (b*Log[x - #1] + c*Log[x - #1]*#1^3
)/(b*#1 + 2*c*#1^4) & ]/(3*a)

_______________________________________________________________________________________

Maple [C]  time = 0.008, size = 61, normalized size = 0.1 \[ -{\frac{1}{ax}}-{\frac{1}{3\,a}\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{6}c+{{\it \_Z}}^{3}b+a \right ) }{\frac{ \left ({{\it \_R}}^{4}c+{\it \_R}\,b \right ) \ln \left ( x-{\it \_R} \right ) }{2\,{{\it \_R}}^{5}c+{{\it \_R}}^{2}b}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/x^2/(c*x^6+b*x^3+a),x)

[Out]

-1/a/x-1/3/a*sum((_R^4*c+_R*b)/(2*_R^5*c+_R^2*b)*ln(x-_R),_R=RootOf(_Z^6*c+_Z^3*
b+a))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ -\frac{\int \frac{c x^{4} + b x}{c x^{6} + b x^{3} + a}\,{d x}}{a} - \frac{1}{a x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((c*x^6 + b*x^3 + a)*x^2),x, algorithm="maxima")

[Out]

-integrate((c*x^4 + b*x)/(c*x^6 + b*x^3 + a), x)/a - 1/(a*x)

_______________________________________________________________________________________

Fricas [A]  time = 0.550153, size = 7272, normalized size = 11.92 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((c*x^6 + b*x^3 + a)*x^2),x, algorithm="fricas")

[Out]

-1/6*(4*sqrt(3)*(1/2)^(1/3)*a*x*((b^3 - 2*a*b*c + (a^4*b^2 - 4*a^5*c)*sqrt((b^8
- 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8*b^6 - 12*a^9*b^4
*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 - 4*a^5*c))^(1/3)*arctan(-(1/2)^(
2/3)*(sqrt(3)*(a^4*b^8 - 13*a^5*b^6*c + 60*a^6*b^4*c^2 - 112*a^7*b^2*c^3 + 64*a^
8*c^4)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/(a^8
*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)) - sqrt(3)*(b^9 - 11*a*b^7*
c + 42*a^2*b^5*c^2 - 62*a^3*b^3*c^3 + 24*a^4*b*c^4))*((b^3 - 2*a*b*c + (a^4*b^2
- 4*a^5*c)*sqrt((b^8 - 8*a*b^6*c + 20*a^2*b^4*c^2 - 16*a^3*b^2*c^3 + 4*a^4*c^4)/
(a^8*b^6 - 12*a^9*b^4*c + 48*a^10*b^2*c^2 - 64*a^11*c^3)))/(a^4*b^2 - 4*a^5*c))^
(2/3)/((1/2)^(2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/
(a^4*b^2 - 4*a^5*c))^(2/3) + 2*(b^4*c^3 - 4*a*b^2*c^4 + 2*a^2*c^5)*x) + 6)/(a*x)

_______________________________________________________________________________________

Sympy [A]  time = 8.32987, size = 252, normalized size = 0.41 \[ \operatorname{RootSum}{\left (t^{6} \left (46656 a^{7} c^{3} - 34992 a^{6} b^{2} c^{2} + 8748 a^{5} b^{4} c - 729 a^{4} b^{6}\right ) + t^{3} \left (- 864 a^{3} b c^{3} + 864 a^{2} b^{3} c^{2} - 270 a b^{5} c + 27 b^{7}\right ) + c^{4}, \left ( t \mapsto t \log{\left (x + \frac{- 15552 t^{5} a^{8} c^{4} + 27216 t^{5} a^{7} b^{2} c^{3} - 14580 t^{5} a^{6} b^{4} c^{2} + 3159 t^{5} a^{5} b^{6} c - 243 t^{5} a^{4} b^{8} + 252 t^{2} a^{4} b c^{4} - 567 t^{2} a^{3} b^{3} c^{3} + 378 t^{2} a^{2} b^{5} c^{2} - 99 t^{2} a b^{7} c + 9 t^{2} b^{9}}{2 a^{2} c^{5} - 4 a b^{2} c^{4} + b^{4} c^{3}} \right )} \right )\right )} - \frac{1}{a x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/x**2/(c*x**6+b*x**3+a),x)

[Out]

RootSum(_t**6*(46656*a**7*c**3 - 34992*a**6*b**2*c**2 + 8748*a**5*b**4*c - 729*a
**4*b**6) + _t**3*(-864*a**3*b*c**3 + 864*a**2*b**3*c**2 - 270*a*b**5*c + 27*b**
7) + c**4, Lambda(_t, _t*log(x + (-15552*_t**5*a**8*c**4 + 27216*_t**5*a**7*b**2
*c**3 - 14580*_t**5*a**6*b**4*c**2 + 3159*_t**5*a**5*b**6*c - 243*_t**5*a**4*b**
8 + 252*_t**2*a**4*b*c**4 - 567*_t**2*a**3*b**3*c**3 + 378*_t**2*a**2*b**5*c**2
- 99*_t**2*a*b**7*c + 9*_t**2*b**9)/(2*a**2*c**5 - 4*a*b**2*c**4 + b**4*c**3))))
 - 1/(a*x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left (c x^{6} + b x^{3} + a\right )} x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((c*x^6 + b*x^3 + a)*x^2),x, algorithm="giac")

[Out]

integrate(1/((c*x^6 + b*x^3 + a)*x^2), x)